package com.usefullc.demo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.usefullc.system.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 请假条实体
 * @author: 星空
 * @date: 2022-07-27
 */
@ApiModel("请假条")
@TableName("testApp_appyDayOff")
@Data
public class ApplyDayOff extends BaseEntity {

//useful_auto_generate_section_start

    @ApiModelProperty(notes = "申请人")
    @TableField(value="`userId`")
    private Long userId;

    @ApiModelProperty(notes = "审核人")
    @TableField(value="`auditUserId`")
    private Long auditUserId;

    @ApiModelProperty(notes = "开始时间")
    @TableField(value="`offDayStart`")
    private Date offDayStart;

    @ApiModelProperty(notes = "结束时间")
    @TableField(value="`offDayEnd`")
    private Date offDayEnd;

    @ApiModelProperty(notes = "审核状态")
    @TableField(value="`status`")
    private Integer status;

    @ApiModelProperty(notes = "审核意见")
    @TableField(value="`comment`")
    private String comment;

    @ApiModelProperty(notes = "事由")
    @TableField(value="`eventComment`")
    private String eventComment;


//useful_auto_generate_section_end

}
